import Vue from "vue";
import App from "./App";
import store from "./store";
import router from "./router";


import '@/router/config'
import Qs from "qs";      // 引入QS，格式化请求参数，如：json对象 => formData
// import 'normalize.css/normalize.css'
import ElementUI from "element-ui";         // 引入elementUI
import "element-ui/lib/theme-chalk/index.css";
import "element-ui/lib/theme-chalk/display.css";
import "./assets/layui/css/layui.css";      // 引入layui.css
import "./style/index.css";                 // 引入自定义样式
// import MavonEditor from "mavon-editor";     // 引入mavon-editor，编辑器
// import "mavon-editor/dist/css/index.css";   // 编辑器样式
import VueTypedJs from "vue-typed-js";      // 打字机效果
import VueClipboard from 'vue-clipboard2'   // 复制到剪贴板

// 导入自定义mock，模拟后端响应
// import "@/mock"


// 使用ElementUI、MavonEditor
Vue.use(ElementUI);
Vue.use(VueTypedJs);
// Vue.use(MavonEditor);
Vue.use(VueClipboard);
Vue.prototype.qs = Qs;
Vue.config.productionTip = false;


new Vue({
    router,
    store,
    render: h => h(App),
}).$mount("#app");
